package com.ruoyi.dynamic.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.dynamic.domain.UserPartyEnroll;

/**
 * 约玩报名Mapper接口
 * 
 * @author DEREK
 * @date 2023-12-07
 */
public interface UserPartyEnrollMapper extends BaseMapper<UserPartyEnroll>
{
    /**
     * 查询约玩报名
     * 
     * @param id 约玩报名主键
     * @return 约玩报名
     */
    public UserPartyEnroll selectUserPartyEnrollById(Long id);

    /**
     * 查询约玩报名列表
     * 
     * @param userPartyEnroll 约玩报名
     * @return 约玩报名集合
     */
    public List<UserPartyEnroll> selectUserPartyEnrollList(UserPartyEnroll userPartyEnroll);

    /**
     * 新增约玩报名
     * 
     * @param userPartyEnroll 约玩报名
     * @return 结果
     */
    public int insertUserPartyEnroll(UserPartyEnroll userPartyEnroll);

    /**
     * 修改约玩报名
     * 
     * @param userPartyEnroll 约玩报名
     * @return 结果
     */
    public int updateUserPartyEnroll(UserPartyEnroll userPartyEnroll);

    /**
     * 删除约玩报名
     * 
     * @param id 约玩报名主键
     * @return 结果
     */
    public int deleteUserPartyEnrollById(Long id);

    /**
     * 批量删除约玩报名
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUserPartyEnrollByIds(Long[] ids);
}
